package ht.dao;

import ht.domain.Hlxx;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by charmyyy on 2017/10/19.
 */
public interface HlxxDao {
    //流域名称表的crud
    public List<Hlxx> getAllHlxx();

    public Hlxx getHlxx(@Param("rvcd") String rvcd);

    public int getHlxxCount();

    public int getHlxxCountByNm(@Param("nm") String nm);

    public List<Hlxx> getPageHlxx(int start, int limit);

    public List<Hlxx> getPageHlxxByNm(int start, int limit, String nm);

    public int addHlxx(Hlxx Hlxx);

    public int upptHlxx(Hlxx Hlxx);

    public int deleHlxx(@Param("rvcd") String rvcd);
}
